home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-14 | 1.6 KB | 39 lines | [TEXT/ttxt] |
- ; Sample hosts file demonstrating how to configure a DNS to work with
- ; HomeDoor to serve a number of virtual domains from one Web server.
-
- ; This is the hosts file for the "CompanyX.com" virtual domain
- ; See the HomeDoorSampleHosts file for general comments
-
- ; ORIGIN
- $ORIGIN CompanyX.com.
-
- ; START OF AUTHORITY INFORMATION
- @ IN SOA dns.yourwebserver.com. hostmaster.yourwebserver.com. (
- 9511141 ; serial number (yymmddn)
- 36000 ; refresh (every 10 hours)
- 7200 ; retry (after 2 hours)
- 604800 ; expire (after 1 week)
- 86400 ) ; minimum time to live (1 day)
-
- ; NAME SERVERS
- IN NS dns.yourwebserver.com.
- IN NS dns2.yourwebserver.com.
-
- ; MAIL EXCHANGERS
- ; You don't need this line if you're not providing virtual e-mail services for CompanyX
- IN MX 10 yourmailserver.com.
-
- ; HOST ADDRESSES
- ; The HomeDoor address you're going to assign to the CompanyX virtual domain
- www.CompanyX.com. IN A 10.0.0.1
-
- ; ALIASES
- ; Aliases for your actual Web server - not strictly necessary
- ; This alias makes it so that Web browsers' "location" fields
- ; list CompanyX.com as the domain, rather than yourwebserver.com
- ; For this to work, you must enter this alias in the HomeDoor URL
- ; associated with the above address (rather than www.yourwebserver.com)
- www2.CompanyX.com. IN CNAME www.yourwebserver.com.
-
-
-